package week4;

/**
 * Created by dell on 2017/3/18.
 */
public class Ocean3FlyingFish extends Ocean1Fish implements Ocean3Flyer{
    public Ocean3FlyingFish(String name) {
        super(name);
    }
    @Override
    public void swim() {
        System.out.printf("飞鱼游泳");
    }
    @Override
    public void fly() {
        System.out.printf("飞鱼会飞");
    }
}
